<jsp:directive.page session="true" />
<jsp:useBean id="register" class="dasregistry.registryBean"
scope="session"/> <jsp:setProperty name="register"
property="numbcoordinateentries"/>
<%@ page import="org.biojava.services.das.dao.Role" %>
<%@ page import="org.biojava.services.das.dao.RegistryUser" %>
<%@ page import="org.biojava.services.das.registry.UserManager" %>

<%@ include file="logincheck.jsp" %>

<%
	String title = "DAS registration server - register new service";
	String header = "Register new service";
%>


<%@ include file="sangerheader.jsp" %>
<script language="Javascript">
<!--
	function reloadPage() {
		document.count_form.submit();
		return false;
	}
// -->
</script> 

<div id="main">

<%
if ( email == null ) {
	%>
	<%@ include file="notLoggedIn.jsp" %>
	<% 
	}
%>


<h2>register new DAS service</h2>


<ul>
<li> <a href="registerreference.jsp">Register</a> a DAS 1 source e.g. http://das.sanger.ac.uk/das/test16genes</li>
<li> <a href="registerBigFileFeatures.jsp">Register</a> a plain file holding features such as BigWig or BAM files available over the web for example http://ftp.sra.ebi.ac.uk/analysis/ERZ000/ERZ000001/ERZ000001.bam</li>
<li> <a href="registerServer.jsp">Register</a> a DAS 1 server (multiple sources) e.g. http://das.sanger.ac.uk/das/ ( you will need a valid sources response for your server)</li>
<%--<li> <a href="registerDas2Source.jsp">Register</a> a DAS 2 source (developmental)</li>--%>
<%
if ( isAdmin ) {
%>
	<li> <a href="createcoordsys.jsp">Create</a> a new coordinate system</li>

<% 
} 
%>
</ul>

<%
if ( email != null ) {
	%>
<h2>register new Project</h2>
<ul>
<li><a href="registerProject.jsp">create a new project</a>.
</ul>	
	<% 
	}
%>

</div>
<%@ include file="sangerfooter.jsp" %>


